
/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

JDFusion
云主机、网卡、云硬盘、网络与相关、关系型数据库、对象存储等相关的接口

OpenAPI spec version: v1
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/

#import <Foundation/Foundation.h>

#import <JDCloudOCSDKJdfusion/JdfusionExecutor.h>


/// 启动一台实例。实例状态必须为 已停止（Stopped），才可以调用该接口。
@implementation  JdfusionStartVmInstanceByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vm_instances/{id}:start";
    return self;
}
@end

/// 删除指定RDS实例上，指定用户名的账号信息
@implementation  JdfusionDeleteRdsAccountExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/accounts/{accountName}";
    return self;
}
@end

/// 创建部署信息
@implementation  JdfusionCreateDeploymentExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/deployments";
    return self;
}
@end

/// 根据云提供商查询对应的OSS存储桶信息
@implementation  JdfusionGetBucketByNameExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/oss_buckets/{name}";
    return self;
}
@end

/// 读取指定ID的运行结果和运行状态
@implementation  JdfusionGetTaskInfoHistoryByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/task_infos/{task}/history";
    return self;
}
@end

/// 根据云提供商查询对应的虚拟机资源信息
@implementation  JdfusionGetVmInstancesExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vm_instances";
    return self;
}
@end

/// 查询某一次的历史执行结果（内部使用）
@implementation  JdfusionGetDeploymentsResultsByIdRecordExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/deployments/{id}/results/{record}";
    return self;
}
@end

/// 应用部署回滚
@implementation  JdfusionRollbackDeploymentsVersionExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/deployments/{id}/versions/{version_id}:rollback";
    return self;
}
@end

/// 根据过滤条件，取得指定RDS实例上的数据库信息
@implementation  JdfusionGetRdsDatabaseByInstIdAndDbNameExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/databases/{dbName}";
    return self;
}
@end

/// 查询应用记录
@implementation  JdfusionGetDeploymentVersionsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/deployments/{id}/versions";
    return self;
}
@end

/// 根据云提供商查询对应的VPC资源信息
@implementation  JdfusionGetVpcByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_vpcs/{id}";
    return self;
}
@end

/// 取得指定RDS实例上的指定账号信息
@implementation  JdfusionGetRdsAccountsByInstIdAndAccountNameExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/accounts/{accountName}";
    return self;
}
@end

/// 根据云提供商查询对应的网卡资源信息
@implementation  JdfusionGetVpcNetworkInterfaceByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_networkInterfaces/{id}";
    return self;
}
@end

/// 删除安全组规则
@implementation  JdfusionDeleteSecurityGroupsRuleExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vpc_securityGroups/{id}/rule";
    return self;
}
@end

/// 查询执行结果
@implementation  JdfusionGetDeploymentResultExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/deployments/{id}/result";
    return self;
}
@end

/// 根据指定ID修改任务
@implementation  JdfusionEditTransferTaskExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/oss_transferTasks/{id}";
    return self;
}
@end

/// 根据云提供商查询对应的OSS存储桶列表
@implementation  JdfusionGetBucketsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/oss_buckets";
    return self;
}
@end

/// 只能重启状态为 运行中（Running）的实例。
@implementation  JdfusionRebootVmInstanceByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vm_instances/{id}:reboot";
    return self;
}
@end

/// 根据指定ID启动任务
@implementation  JdfusionStartTransferTaskExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/oss_transferTasks/{id}:start";
    return self;
}
@end

/// 给RDS账号分配数据库权限
@implementation  JdfusionGrantRdsAccountExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/accounts/{accountName}:grant";
    return self;
}
@end

/// 根据云提供商创建网卡
@implementation  JdfusionCreateVpcNetworkInterfaceExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vpc_networkInterfaces";
    return self;
}
@end

/// 根据给定的信息，创建指定RDS实例的数据库
@implementation  JdfusionCreateRdsDatabaseExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/databases";
    return self;
}
@end

/// 停止监听器
@implementation  JdfusionStopSlbListenerExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vpc_slbs_listener/{id}:stop";
    return self;
}
@end

/// 查询部署信息
@implementation  JdfusionGetDeploymentsByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/deployments/{id}";
    return self;
}
@end

/// 查询部署信息列表
@implementation  JdfusionGetDeploymentsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/deployments";
    return self;
}
@end

/// 根据数据库类型，取得RDS实例的规格
@implementation  JdfusionGetRdsSpecificationExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/rds_specification/{engine}";
    return self;
}
@end

/// 验证指定云信息的AK、SK
@implementation  JdfusionValidCloudInfoExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/cloud_info/{cloudId}/valid";
    return self;
}
@end

/// 启动数据同步
@implementation  JdfusionStartChannelExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/migration_mysqlChannels/{id}:start";
    return self;
}
@end

/// 删除服务器组
@implementation  JdfusionDeleteVserverGroupExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vpc_vserverGroups/{id}";
    return self;
}
@end

/// 根据云提供商创建密钥对
@implementation  JdfusionCreateVmKeypairExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vm_keypairs";
    return self;
}
@end

/// 创建数据同步通道
@implementation  JdfusionCreateChannelExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/migration_mysqlChannels";
    return self;
}
@end

/// 根据云提供商查询对应的密钥对资源信息
@implementation  JdfusionGetVmKeypairsByNameExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vm_keypairs/{name}";
    return self;
}
@end

/// 释放公网IP
@implementation  JdfusionDeleteVpcEipByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vpc_eips/{id}";
    return self;
}
@end

/// 根据已有资源反向生成deployment
@implementation  JdfusionReverseDeploymentExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/deployments:reverse";
    return self;
}
@end

/// 根据指定ID获取任务信息
@implementation  JdfusionGetTransferTaskByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/oss_transferTasks/{id}";
    return self;
}
@end

/// 根据云提供商查询对应的subnet资源信息
@implementation  JdfusionGetVpcSubnetsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_subnets";
    return self;
}
@end

/// 创建HTTP监听器
@implementation  JdfusionCreateVpcLBHttpListenerExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vpc_lbHttpListener";
    return self;
}
@end

/// 根据指定ID停止任务
@implementation  JdfusionStopTransferTaskExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/oss_transferTasks/{id}:stop";
    return self;
}
@end

/// 根据过滤条件，取得服务器组的信息
@implementation  JdfusionGetVserverGroupsByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_vserverGroups/{id}";
    return self;
}
@end

/// 删除子网
@implementation  JdfusionDeleteVpcSubnetByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vpc_subnets/{id}";
    return self;
}
@end

/// 删除安全组
@implementation  JdfusionDeleteVpcSecurityGroupByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vpc_securityGroups/{id}";
    return self;
}
@end

/// 根据云提供商分配公网IP
@implementation  JdfusionCreateVpcEipExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vpc_eips";
    return self;
}
@end

/// 删除channel
@implementation  JdfusionDeleteChannelExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/migration_mysqlChannels/{id}";
    return self;
}
@end

/// 删除指定ID的OSS存储桶信息
@implementation  JdfusionDeleteBucketExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/oss_buckets/{name}";
    return self;
}
@end

/// 获取当前用户的云注册信息
@implementation  JdfusionGetCloudInfosExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/cloud_info";
    return self;
}
@end

/// 根据云提供商查询对应的网卡资源信息
@implementation  JdfusionGetVpcNetworkInterfacesExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_networkInterfaces";
    return self;
}
@end

/// 弹性公网IP绑定到虚拟机
@implementation  JdfusionAssociateVpcEipByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vpc_eips/{id}:associate";
    return self;
}
@end

/// 根据过滤条件，取得指定RDS实例上的数据库信息
@implementation  JdfusionGetRdsDatabasesByInstIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/databases";
    return self;
}
@end

/// 根据云提供商查询对应的公网IP资源信息
@implementation  JdfusionGetVpcEipByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_eips/{id}";
    return self;
}
@end

/// 查询应用记录详细信息
@implementation  JdfusionGetDeploymentsVersionExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/deployments/{id}/versions/{version_id}";
    return self;
}
@end

/// 查询数据源
@implementation  JdfusionGetDatasourcesExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/migration_mysqlDatasources";
    return self;
}
@end

/// 查询数据同步通道信息
@implementation  JdfusionGetChannelsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/migration_mysqlChannels";
    return self;
}
@end

/// 根据云提供商查询对应的公网IP资源信息
@implementation  JdfusionGetVpcEipsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_eips";
    return self;
}
@end

/// 删除指定RDS实例上，指定数据库名的数据库信息
@implementation  JdfusionDeleteRdsDatabaseExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/databases/{dbName}";
    return self;
}
@end

/// 为指定用户关联云
@implementation  JdfusionRegistCloudInfoExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/cloud_info";
    return self;
}
@end

/// 根据云提供商创建负载均衡
@implementation  JdfusionCreateVpcSlbExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vpc_slbs";
    return self;
}
@end

/// 查询指定ID的RDS实例信息
@implementation  JdfusionGetRdsByInstIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/rds_instances/{instId}";
    return self;
}
@end

/// 获取指定云信息
@implementation  JdfusionUnregistCloudInfoExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/cloud_info/{cloudId}";
    return self;
}
@end

/// 云硬盘挂载至虚拟机
@implementation  JdfusionAttachDiskToVmInstanceByDiskIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/disk_disks/{id}:attach";
    return self;
}
@end

/// 网卡挂载虚拟机
@implementation  JdfusionAttachVpcNetworkInterfaceByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vpc_networkInterfaces/{id}:attach";
    return self;
}
@end

/// 根据过滤条件，查监听器列表
@implementation  JdfusionGetLbHttpListenerExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_lbHttpListener";
    return self;
}
@end

/// 预部署
@implementation  JdfusionDryrunDeploymentExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/deployments/{id}:dryrun";
    return self;
}
@end

/// 创建数据源
@implementation  JdfusionCreateDatasourceExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/migration_mysqlDatasources";
    return self;
}
@end

/// 查询可用域列表信息
@implementation  JdfusionGetRegionsAvailableZonesExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/regions_availableZones/{region}";
    return self;
}
@end

/// 从虚拟机卸载云硬盘
@implementation  JdfusionDetachDiskToVmInstanceByDiskIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/disk_disks/{id}:detach";
    return self;
}
@end

/// 启动监听器
@implementation  JdfusionStartSlbListenerExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vpc_slbs_listener/{id}:start";
    return self;
}
@end

/// 获取任务列表
@implementation  JdfusionGetTransferTasksExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/oss_transferTasks";
    return self;
}
@end

/// 根据给定的信息，创建RDS实例
@implementation  JdfusionCreateRdsInstanceExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/rds_instances";
    return self;
}
@end

/// 删除云硬盘
@implementation  JdfusionRemoveDiskByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/disk_disks/{id}";
    return self;
}
@end

/// 查询指定的安全组资源信息
@implementation  JdfusionGetVpcSecurityGroupByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_securityGroups/{id}";
    return self;
}
@end

/// 根据云提供商查询对应的RDS实例信息
@implementation  JdfusionGetRdsInstancesExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/rds_instances";
    return self;
}
@end

/// 根据过滤条件，取得指定OSS存储桶上的文件列表
@implementation  JdfusionGetBucketFilesExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/oss_buckets/{name}/files";
    return self;
}
@end

/// 删除弹性网卡
@implementation  JdfusionDeleteVpcNetworkInterfaceByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vpc_networkInterfaces/{id}";
    return self;
}
@end

/// 根据过滤条件，取得指定RDS实例上的账号信息
@implementation  JdfusionGetRdsAccountsByInstIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/accounts";
    return self;
}
@end

/// 根据云提供商查询对应的安全组资源信息
@implementation  JdfusionGetVpcSecurityGroupsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_securityGroups";
    return self;
}
@end

/// 新增安全组规则
@implementation  JdfusionCreateSecurityGroupsRuleExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vpc_securityGroups/{id}/rule";
    return self;
}
@end

/// 应用部署
@implementation  JdfusionApplyDeploymentExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/deployments/{id}:apply";
    return self;
}
@end

/// 根据云提供商查询对应的密钥对资源信息
@implementation  JdfusionGetVmKeypairsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vm_keypairs";
    return self;
}
@end

/// 根据云提供商查询对应的SLB资源信息
@implementation  JdfusionGetVpcSlbByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_slbs/{id}";
    return self;
}
@end

/// 删除部署信息
@implementation  JdfusionDeleteDeploymentExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/deployments/{id}";
    return self;
}
@end

/// 根据云提供商创建子网
@implementation  JdfusionCreateVpcSubnetExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vpc_subnets";
    return self;
}
@end

/// 删除指定ID的RDS实例信息
@implementation  JdfusionDeleteRdsByInstIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/rds_instances/{instId}";
    return self;
}
@end

/// 创建任务
@implementation  JdfusionCreateTransferTaskExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/oss_transferTasks_simple";
    return self;
}
@end

/// 根据云提供商查询对应的负载均衡资源信息
@implementation  JdfusionGetVpcSlbsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_slbs";
    return self;
}
@end

/// 克隆部署信息
@implementation  JdfusionCloneDeploymentExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/deployments/{id}:clone";
    return self;
}
@end

/// 删除VPC
@implementation  JdfusionDeleteVpcByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vpc_vpcs/{id}";
    return self;
}
@end

/// 根据云提供商创建私有网络
@implementation  JdfusionCreateVpcExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vpc_vpcs";
    return self;
}
@end

/// 解绑公网IP
@implementation  JdfusionDisassociateVpcEipByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vpc_eips/{id}:disassociate";
    return self;
}
@end

/// 根据云提供商查询对应的subnet资源信息
@implementation  JdfusionGetVpcSubnetByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_subnets/{id}";
    return self;
}
@end

/// 根据云提供商创建安全组
@implementation  JdfusionCreateVpcSecurityGroupExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vpc_securityGroups";
    return self;
}
@end

/// 查询私有网络资源列表
@implementation  JdfusionGetVpcsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_vpcs";
    return self;
}
@end

/// 停止数据同步
@implementation  JdfusionStopChannelExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/migration_mysqlChannels/{id}:stop";
    return self;
}
@end

/// 启动负载均衡
@implementation  JdfusionStartSlbExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vpc_slbs/{id}:start";
    return self;
}
@end

/// 根据云提供商查询对应的VM资源信息
@implementation  JdfusionGetVmInstancesByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vm_instances/{id}";
    return self;
}
@end

/// 查询地域列表信息
@implementation  JdfusionGetRegionsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/regions";
    return self;
}
@end

/// 停止负载均衡
@implementation  JdfusionStopSlbExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vpc_slbs/{id}:stop";
    return self;
}
@end

/// 根据指定任务id查询迁移进度
@implementation  JdfusionGetTransferTaskProgressExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/oss_transferTasks/{id}/progress";
    return self;
}
@end

/// 根据过滤条件，取得服务器组的信息
@implementation  JdfusionGetVpcVServerGroupsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vpc_vserverGroups";
    return self;
}
@end

/// 根据指定ID删除任务
@implementation  JdfusionDeleteTransferTaskExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/oss_transferTasks/{id}";
    return self;
}
@end

/// 根据指定任务id查询迁移失败文件列表
@implementation  JdfusionGetTransferTaskFailedFilesExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/oss_transferTasks/{id}/failed-files";
    return self;
}
@end

/// 根据给定的信息，创建指定RDS实例的账户
@implementation  JdfusionCreateRdsAccountsExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/accounts";
    return self;
}
@end

/// 创建虚拟服务器组，并添加后端服务器
@implementation  JdfusionCreateVpcVServerGroupExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vpc_vserverGroups";
    return self;
}
@end

/// 读取指定ID的运行结果和运行状态
@implementation  JdfusionGetTaskInfoByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/task_infos/{task}";
    return self;
}
@end

/// 根据云提供商创建云硬盘
@implementation  JdfusionCreateDiskExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/disk_disks";
    return self;
}
@end

/// 通过异步任务，给RDS账号分配数据库权限
@implementation  JdfusionGrantRdsAccountsByTaskExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/accounts/{accountName}:grantByTask";
    return self;
}
@end

/// 根据云提供商查询对应的云硬盘资源信息
@implementation  JdfusionGetDisksExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/disk_disks";
    return self;
}
@end

/// 卸载网卡
@implementation  JdfusionDetachVpcNetworkInterfaceByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vpc_networkInterfaces/{id}:detach";
    return self;
}
@end

/// 根据云提供商创建虚拟机
@implementation  JdfusionCreateVmInstanceExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/vm_instances";
    return self;
}
@end

/// 删除监听器
@implementation  JdfusionDeleteSlbsListenerExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vpc_slbs_listener/{id}";
    return self;
}
@end

/// 获取指定云信息
@implementation  JdfusionGetCloudInfoByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/cloud_info/{cloudId}";
    return self;
}
@end

/// 删除密钥对
@implementation  JdfusionDeleteVmKeypairByNameExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vm_keypairs/{name}";
    return self;
}
@end

/// 停止运行一台实例。只有状态为 运行中（Running）的实例才可以进行此操作。
@implementation  JdfusionStopVmInstanceByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/vm_instances/{id}:stop";
    return self;
}
@end

/// 撤销RDS账号在指定数据库的所有权限
@implementation  JdfusionRevokeRdsAccountExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/rds_instances/{instId}/accounts/{accountName}/databases/{dbName}:revoke";
    return self;
}
@end

/// 根据云提供商查询对应的云硬盘资源信息
@implementation  JdfusionGetDiskByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/disk_disks/{id}";
    return self;
}
@end

/// 根据过滤条件，取得镜像资源的信息
@implementation  JdfusionGetVmImagesExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vm_images";
    return self;
}
@end

/// 修改部署信息
@implementation  JdfusionEditDeploymentExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"PUT";
    self.url = @"/regions/{regionId}/deployments/{id}";
    return self;
}
@end

/// 删除数据源
@implementation  JdfusionDeleteDatasourceExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/migration_mysqlDatasources/{id}";
    return self;
}
@end

/// 删除SLB
@implementation  JdfusionDeleteVpcSlbByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vpc_slbs/{id}";
    return self;
}
@end

/// 通过虚拟机id删除虚拟机
@implementation  JdfusionDeleteVmInstanceByIdExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"DELETE";
    self.url = @"/regions/{regionId}/vm_instances/{id}";
    return self;
}
@end

/// 虚拟机规格列表
@implementation  JdfusionGetVmInstanceTypesExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"GET";
    self.url = @"/regions/{regionId}/vm_instanceTypes";
    return self;
}
@end

/// 根据给定的信息，创建OSS存储桶
@implementation  JdfusionCreateBucketExecutor

-(id) initWithJDCloudClient:(JdfusionClient*)JDCloudClient
{
    self.jdCloudClient = JDCloudClient;
    self.method = @"POST";
    self.url = @"/regions/{regionId}/oss_buckets";
    return self;
}
@end
